package org.zjt.demo.service.imp;

import org.springframework.beans.factory.annotation.Autowired;
import org.zjt.demo.dao.StudentDao;
import org.zjt.demo.service.IStudentService;

/**
 * DESC
 *
 * @author
 * @create 2017-05-17 下午1:36
 **/
public class StudentServiceImp implements IStudentService {

    @Autowired
    StudentDao studentDao;

    @Override
    public String doMethod(String name) {
        return studentDao.doMethod1(name)+studentDao.doMethod2(name)+studentDao.doMethod3(name);
    }

    public StudentDao getStudentDao() {
        return studentDao;
    }

    public void setStudentDao(StudentDao studentDao) {
        this.studentDao = studentDao;
    }
}
